package com.thb.pay.channel;

import com.thb.pay.api.order.vo.req.PayOrderReq;
import com.thb.pay.api.payment.ChannelConfigServiceApi;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @类名称 AbsPaymentService
 * @类描述 <pre>支付抽象类实现</pre>
 * @作者 lucky
 * @创建时间 2019/10/24
 * @版本 v1.01
 */
public abstract class AbsPaymentService implements IPaymentService {

    protected static final Logger logger = LoggerFactory.getLogger(AbsPaymentService.class);

    @Autowired
    private ChannelConfigServiceApi channelConfigServiceApi;

    public abstract String passageName();

    @Override
    public Object payOrder(PayOrderReq payOrder) {
        return null;
    }

    @Override
    public Object cancelOrder(PayOrderReq payOrder) {
        return null;
    }

    @Override
    public Object queryOrder(PayOrderReq payOrder) {
        return null;
    }

    @Override
    public Object generateOrderNumber(PayOrderReq payOrder) {
        return null;
    }

    @Override
    public Object currencyExchange(PayOrderReq payOrder) {
        return null;
    }

    @Override
    public String getThirdPayConfig(PayOrderReq payOrder) {
        
        return null;
    }

    @Override
    public String checkExtra(String extra) {
        return null;
    }
}
